package com.yan.demo;

import java.util.Arrays;

public class Demo3 {
    public static void main(String[] args) {
        int[] num = new int[20];
        num[0] = 10;
        for (int i = 1; i < num.length; i++) {
            num[i] = (int)(num[i - 1] * 1.5);
        }
        System.out.println(Arrays.toString(num));

    }
}
